<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>开出院通知单</title>
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/default/easyui.css"/>">
	<link rel="stylesheet" type="text/css" href="<c:url value="/css/themes/icon.css"/>">
	
	<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/js/jquery.easyui.min.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/js/easyui-lang-zh_CN.js"/>"></script>
	
	<style>
	
	.zhuyuan_right{
		float:left;
	}
	</style>
	
</head>
<body>
	<script type="text/javascript">
		$(function(){
			$('#his-cysearch').searchbox({
				    searcher:function(ylkno,name){
			    	$('#form-cytzd').form("clear");
			    	$.getJSON("selectbr", {"ylkNo": ylkno}, function(data){
			    			$("#form-cytzd").form("load", data);
					});
			    }
		
			});
			$("#ticy").linkbutton({onClick:function(){
				$('#form-cytzd').form('submit', {
					url:'savecytzd',
				    onSubmit: function(){	
				    },
				    success:function(data){
				    	//var json = eval("(" + data + ")");
				    	$.messager.alert("提示", data.reason)
						$(this).form("clear");
				    }
				});
			}});
					;
						
		
		});
	</script>
	
	<div style="margin:10px;">
		<input id="his-cysearch" class="easyui-searchbox" data-options="width:220,prompt: '请输入诊疗卡号'">
	</div>
	<hr style="height:20px;background-color:rgb(224,236,255);border:0px;" >
	<div class="easyui-layout" data-options="fit:true">
			<div data-options="region:'center'" style="padding:10px;border:0px;">
				<form id="form-cytzd" action="" method="post" >
					<input name="zyysNo" class="easyui-textbox " data-options="label: '医生编号：', width: 200">
					<input name="zyysmc" class="easyui-textbox " data-options="label: '医生姓名：', width: 200">
					<input name="brNo" class="easyui-textbox " data-options="label: '病人编号：', width: 200">
					<input name="brName" class="easyui-textbox " data-options="label: '病人姓名：', width: 200">
					<input name="ylkNo" class="easyui-textbox " data-options="label: '医疗卡号：', width: 200">
					<input name="cwNo" class="easyui-textbox " data-options="label: '床位号：', width: 200">
					<input name="bqNo" class="easyui-textbox " data-options="label: '科室号：', width: 200">
					<input name="ksmc" class="easyui-textbox " data-options="label: '科室：', width: 200">
					
				</form>
			</div>
			<div data-options="region:'south',border:false" style="text-align:right;height:100px;">
				<a id="ticy" class="easyui-linkbutton" data-options="iconCls:'icon-ok', plain:true" >确定</a>&nbsp;&nbsp;
				<a id="btn2" class="easyui-linkbutton" data-options="iconCls:'icon-cancel', plain:true" href="javascript:$('#form-hiszy').form('clear');" onclick="">取消</a>
			</div>
		</div>
	</div>
</body>
</html>